package com.inspur.icity.bus.base.core.gaoderesult;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by jn-dinggao on 2017/12/20.
 * 公交换乘信息
 */
public class RouteResult {

    /**
     * 起点坐标
     */
    private String origin;
    /**
     * 终点坐标
     */
    private String destination;
    /**
     * 起点终点不行距离
     */
    private String distance;
    /**
     * 费用
     */
    @SerializedName("taxi_cost")
    private String taxiCost;
    /**
     * 公交换乘方案
     */
    private List<TransitResult> transits;

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getTaxiCost() {
        return taxiCost;
    }

    public void setTaxiCost(String taxiCost) {
        this.taxiCost = taxiCost;
    }

    public List<TransitResult> getTransits() {
        return transits;
    }

    public void setTransits(List<TransitResult> transits) {
        this.transits = transits;
    }

    @Override
    public String toString() {
        return "RouteResult{" +
                "origin='" + origin + '\'' +
                ", destination='" + destination + '\'' +
                ", distance='" + distance + '\'' +
                ", taxiCost='" + taxiCost + '\'' +
                ", transits=" + transits +
                '}';
    }
}
